package com.mybatis;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @desc: 项目启动类
 * @projectName: mybatis-generator-parent
 * @author: xhs
 * @date: 2023-7-22 13:51
 * @version: JDK 1.8
 */
@EnableAsync
@MapperScan("com.mybatis.mapper")
@SpringBootApplication
public class GeneratorApp {

    /**
     * 项目启动方法
     *
     * @param args args
     */
    public static void main(String[] args) {
        SpringApplication.run(GeneratorApp.class, args);
    }
}
